
/*
* Copyright 2017-2018 pinganfang
* All right reserved.
*
*/
package com.pingan.haofang.searchcloud.collection.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @author huhailiang937
 */
@Entity
@Table(name = "t_collection_metrics")
public class CollectionMetrics {

    /**
     * 索引ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "id")
    private Long id;

    /**
     * 索引ID
     */
    @Column(name = "collection_id")
    private Long collectionId;

    /**
     * 抓取成功记录数
     */
    @Column(name = "fetch_success_count")
    private Long fetchSuccessCount;

    /**
     * 抓取总记录数
     */
    @Column(name = "fetch_total_count")
    private Long fetchTotalCount;

    /**
     * 导入成功记录数
     */
    @Column(name = "import_success_count")
    private Long importSuccessCount;

    /**
     * 导入总记录数
     */
    @Column(name = "import_total_count")
    private Long importTotalCount;

    /**
     * 全量导入时间
     */
    @Column(name = "full_import_time")
    private Date fullImportTime;

    /**
     * 增量导入时间
     */
    @Column(name = "inc_import_time")
    private Date incImportTime;

    /**
     * 召回率
     */
    @Column(name = "recall_ratio")
    private Integer recallRatio;

    /**
     * 准确率
     */
    @Column(name = "accuracy_ratio")
    private Integer accuracyRatio;

    /**
     * 访问量
     */
    @Column(name = "access_count")
    private Integer accessCount;

    /**
     * 评价响应耗时，MS
     */
    @Column(name = "avg_response_time")
    private Integer avgResponseTime;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @Column(name = "create_by")
    private Long createBy;

    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 最后修改人
     */
    @Column(name = "update_by")
    private Long updateBy;

    /**
     * 索引ID
     * 
     * @param id
     *            the value for id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 索引ID
     * 
     * @return id the value for id
     */
    public Long getId() {
        return this.id;
    }

    /**
     * 索引ID
     * 
     * @param collectionId
     *            the value for collection_id
     */
    public void setCollectionId(Long collectionId) {
        this.collectionId = collectionId;
    }

    /**
     * 索引ID
     * 
     * @return collectionId the value for collection_id
     */
    public Long getCollectionId() {
        return this.collectionId;
    }

    /**
     * 抓取成功记录数
     * 
     * @param fetchSuccessCount
     *            the value for fetch_success_count
     */
    public void setFetchSuccessCount(Long fetchSuccessCount) {
        this.fetchSuccessCount = fetchSuccessCount;
    }

    /**
     * 抓取成功记录数
     * 
     * @return fetchSuccessCount the value for fetch_success_count
     */
    public Long getFetchSuccessCount() {
        return this.fetchSuccessCount;
    }

    /**
     * 抓取总记录数
     * 
     * @param fetchTotalCount
     *            the value for fetch_total_count
     */
    public void setFetchTotalCount(Long fetchTotalCount) {
        this.fetchTotalCount = fetchTotalCount;
    }

    /**
     * 抓取总记录数
     * 
     * @return fetchTotalCount the value for fetch_total_count
     */
    public Long getFetchTotalCount() {
        return this.fetchTotalCount;
    }

    /**
     * 导入成功记录数
     * 
     * @param importSuccessCount
     *            the value for import_success_count
     */
    public void setImportSuccessCount(Long importSuccessCount) {
        this.importSuccessCount = importSuccessCount;
    }

    /**
     * 导入成功记录数
     * 
     * @return importSuccessCount the value for import_success_count
     */
    public Long getImportSuccessCount() {
        return this.importSuccessCount;
    }

    /**
     * 导入总记录数
     * 
     * @param importTotalCount
     *            the value for import_total_count
     */
    public void setImportTotalCount(Long importTotalCount) {
        this.importTotalCount = importTotalCount;
    }

    /**
     * 导入总记录数
     * 
     * @return importTotalCount the value for import_total_count
     */
    public Long getImportTotalCount() {
        return this.importTotalCount;
    }

    /**
     * 全量导入时间
     * 
     * @param fullImportTime
     *            the value for full_import_time
     */
    public void setFullImportTime(Date fullImportTime) {
        this.fullImportTime = fullImportTime;
    }

    /**
     * 全量导入时间
     * 
     * @return fullImportTime the value for full_import_time
     */
    public Date getFullImportTime() {
        return this.fullImportTime;
    }

    /**
     * 增量导入时间
     * 
     * @param incImportTime
     *            the value for inc_import_time
     */
    public void setIncImportTime(Date incImportTime) {
        this.incImportTime = incImportTime;
    }

    /**
     * 增量导入时间
     * 
     * @return incImportTime the value for inc_import_time
     */
    public Date getIncImportTime() {
        return this.incImportTime;
    }

    /**
     * 召回率
     * 
     * @param recallRatio
     *            the value for recall_ratio
     */
    public void setRecallRatio(Integer recallRatio) {
        this.recallRatio = recallRatio;
    }

    /**
     * 召回率
     * 
     * @return recallRatio the value for recall_ratio
     */
    public Integer getRecallRatio() {
        return this.recallRatio;
    }

    /**
     * 准确率
     * 
     * @param accuracyRatio
     *            the value for accuracy_ratio
     */
    public void setAccuracyRatio(Integer accuracyRatio) {
        this.accuracyRatio = accuracyRatio;
    }

    /**
     * 准确率
     * 
     * @return accuracyRatio the value for accuracy_ratio
     */
    public Integer getAccuracyRatio() {
        return this.accuracyRatio;
    }

    /**
     * 访问量
     * 
     * @param accessCount
     *            the value for access_count
     */
    public void setAccessCount(Integer accessCount) {
        this.accessCount = accessCount;
    }

    /**
     * 访问量
     * 
     * @return accessCount the value for access_count
     */
    public Integer getAccessCount() {
        return this.accessCount;
    }

    /**
     * 评价响应耗时，MS
     * 
     * @param avgResponseTime
     *            the value for avg_response_time
     */
    public void setAvgResponseTime(Integer avgResponseTime) {
        this.avgResponseTime = avgResponseTime;
    }

    /**
     * 评价响应耗时，MS
     * 
     * @return avgResponseTime the value for avg_response_time
     */
    public Integer getAvgResponseTime() {
        return this.avgResponseTime;
    }

    /**
     * 创建时间
     * 
     * @param createTime
     *            the value for create_time
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 创建时间
     * 
     * @return createTime the value for create_time
     */
    public Date getCreateTime() {
        return this.createTime;
    }

    /**
     * 创建人
     * 
     * @param createBy
     *            the value for create_by
     */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    /**
     * 创建人
     * 
     * @return createBy the value for create_by
     */
    public Long getCreateBy() {
        return this.createBy;
    }

    /**
     * 修改时间
     * 
     * @param updateTime
     *            the value for update_time
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 修改时间
     * 
     * @return updateTime the value for update_time
     */
    public Date getUpdateTime() {
        return this.updateTime;
    }

    /**
     * 最后修改人
     * 
     * @param updateBy
     *            the value for update_by
     */
    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 最后修改人
     * 
     * @return updateBy the value for update_by
     */
    public Long getUpdateBy() {
        return this.updateBy;
    }
}
